package Lecture7;

import java.util.Scanner;

public class ClassExam4 {

	public static void main(String[] args) 
	{
		
		Scanner sc = new Scanner (System.in);
		int first = sc.nextInt();
		int second = sc.nextInt();
		int third = sc.nextInt();
		
		
		int result = biggestNum(biggestNum(first, second), third);
		
		System.out.println(result);	
	}

	public static int biggestNum (int first, int second)
	{
		
		if (first > second)
		{
			return first;
			
		}
		else 
		{
			return second;
		}
		
	}
	
	
	
	
	
	
	
	
}
